/**
 * Preview a Dialog on View Mode.
 *
 * @param qnId: the questionnaire id.
 */
function pov(qnId) {
    if (qnId == "") {
        alert("please select one to preview!");
    } else {
        $.get("preview.html", {
            qnId: qnId,
            seq: "1"
        }, function (data) {
            $("#preview").show();
            $("#previewContent").html(data);
        });
    }
}